package com.ttloner.springboot.service;

import com.ttloner.springboot.model.MyUser;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author TTLoner
 * @date 2021/7/17 20:05
 * @description
 */
@Transactional
public interface MyUserService {
    public void insert(MyUser myUser);

    public MyUser selectById(int pid);

    public List<MyUser> selectAll();

    public void update(MyUser myUser);

    public void deleteById(int pid);
}
